<?php
echo $this->Form->create('Court');
echo $this->Form->input('name', array('label'=>'Nazwa'));
echo $this->Form->input('covered', array('label'=>'Zadaszony', 'type'=>'checkbox'));
echo $this->Form->input('field_type_id', array('label'=>'Nawierzchnia', 'options' => $field_types));
echo $this->Form->input('start_time', array('label'=>'Godzina otwarcia', 'options' => $time_options));
echo $this->Form->input('end_time', array('label'=>'Godzina zamknięcia', 'options' => $time_options));
echo $this->Form->end('Dodaj');
?>